import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/month_duty_date_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/month_duty_date_entity.g.dart';

@JsonSerializable()
class MonthDutyDateEntity {

	MonthDutyDateEntity();

	factory MonthDutyDateEntity.fromJson(Map<String, dynamic> json) => $MonthDutyDateEntityFromJson(json);
	late String count = '';
	late String dutyDate = '';
	late String dutyPersons = '';
	late String dutyLeaders = '';

	Map<String, dynamic> toJson() => $MonthDutyDateEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}